Nullable.opAssign

Assigns value to the internally-held state. If the assignment succeeds, this becomes non-null.

  1. void opAssign(T value)
    struct Nullable(T)
    static if(!is(T == immutable(T)) && !is(T == const(T)))
    void
    opAssign
    ()
    ()
  2. void opAssign(N n)

Parameters

value T

A value of type T to assign to this Nullable

Meta